﻿input[type="button"][value="Add"] {
	width: 100%;
}
input {
	border: none;
	padding: 2px;
	border-radius: 2px;
}

	input.number {
		text-align: right;
	}

	input[type="button"], input[type="submit"], button, .close {
		background: rgb(168, 168, 168);
		color: white;
		font-weight: bold;
		border: 1px solid white;
		padding: 5px 10px;
		cursor: pointer;
	}
		input[type="button"]:disabled,
		input[type="button"]:disabled:hover{
			background:rgb(230, 230, 230);
			cursor:not-allowed;
		}
		input[type="button"]:hover, button:hover, input[type="submit"]:hover, .close:hover {
			background: rgb(196, 68, 186);
		}

table .img {
	position: absolute;
	visibility: hidden;
	background: rgba(0, 0, 0,0.75);
	padding: 10px;
}

input[readonly="true"] {
	border: none;
	background: none;
}

#popup1 table, #popup2 table {
	margin: 10px auto;
	padding: 10px;
	background: rgb(255, 255, 255);
}

table tr:hover .img {
	visibility: visible;
}

input[name="ID"],input[name="UserId"] {
	text-align: right;
	background: rgb(68,114,196);
	color: white;
}

input[type="number"] {
	text-align: right;
}

.img img {
	max-width: 100px;
	max-height: 100px;
}

.tdPopupLage {
	position: absolute;
	visibility: hidden;
	background: rgba(0, 0, 0,0.75);
	padding: 10px;
}

tr:hover > td > .tdPopupLage {
	visibility: visible;
}

.tdPopupLage > div {
	width: 600px;
	background: rgb(255, 255, 255);
}

.Administer table {
	border-spacing: 0px;
	background: rgb(255, 255, 255);
}

.Administer tbody tr {
	-moz-animation: popupOpen 250ms ease-in-out 1 normal;
	-o-animation: popupOpen 250ms ease-in-out 1 normal;
	-webkit-animation: popupOpen 250ms ease-in-out 1 normal;
	animation: popupOpen 250ms ease-in-out 1 normal;
}

	.Administer thead td,
	.Administer tbody tr td:nth-child(1),
	.Administer tfoot td,
	.Administer tfoot td input[readonly="true"] {
		background: rgb(68,114,196);
		color: white;
		font-weight: bold;
	}

.Administer table input[readonly="true"] {
	background: none;
}

.Administer tfoot td, .Administer thead td {
	text-align: center;
}

.Administer tbody tr:nth-child(2n+1) td:not(:nth-child(1)) {
	background: rgb(180,198,231);
}

.Administer tbody tr:nth-child(2n) td:not(:nth-child(1)) {
	background: rgb(217,226,243);
}

.Administer td {
	border: 1px solid white;
	padding: 0 5px;
}

#status {
	background: rgb(196, 68, 186);
	padding: 10px 5px;
	position: fixed;
	top: 0px;
	left: 45%;
	z-index: 99;
	opacity: 0;
	color: white;
	font-weight: bold;
	border: 1px solid white;
	padding: 5px 10px;
}

.Administer > *, .popup > * {
	margin: 0 auto;
}

.Administer tr[data-id="0"] td:not(:nth-child(1)) {
	background: rgb(247, 255, 137);
}

.field-validation-error {
	position: absolute;
	padding:5px;
	background: rgb(255, 137, 137);
	font-weight: bold;
	visibility: hidden;
	z-index: 1;
}

input.input-validation-error,textarea.input-validation-error {
	background: rgb(255, 137, 137);
	/*border:2px inset rgb(255, 0, 0);*/
}

	.input-validation-error:hover ~ .field-validation-error {
		visibility: visible;
	}
	.popup>div:nth-child(2){
		background:white;
	}